package com.project.internship.service;

import com.baomidou.mybatisplus.core.metadata.IPage;
import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.project.internship.entity.Teacher;
import com.baomidou.mybatisplus.extension.service.IService;
import com.project.internship.vo.TeacherDeptVO;

import java.util.List;

/**
 * <p>
 *  服务类
 * </p>
 *
 * @author author
 * @since 2020-04-07
 */
public interface TeacherService extends IService<Teacher> {

    IPage<Teacher> getAllTeachers(Page<Teacher> page, String keyword);

    Integer addTeacher(Teacher teacher);

    Integer updateTeacher(Teacher teacher);

    Integer deleteTeacher(Long id);

    Integer deleteTeachers(Long[] ids);

    List<Teacher> getNonTeacherName();

    List<Teacher> getBaseTeacher(Integer bid);

    List<TeacherDeptVO> getTeacherSelfInfo();

    Integer updateTeacherSelfInfo(TeacherDeptVO teacherDeptVO);

}
